/*
 * https://github.com/morethanwords/tweb
 * Copyright (C) 2019-2021 Eduard Kuzmenko
 * https://github.com/morethanwords/tweb/blob/master/LICENSE
 */

@mixin text-overflow($no-wrap: true) {
  @if $no-wrap != false {
    white-space: nowrap;
  } @else {
    word-break: break-word;
  }

  text-overflow: ellipsis;
  overflow: hidden;
}
